package com.jingdianjichi.subject.domain.convert;

import com.jingdianjichi.subject.domain.entity.SubjectAnswerBo;
import com.jingdianjichi.subject.domain.entity.SubjectInfoBo;
import com.jingdianjichi.subject.infra.basic.entity.SubjectInfo;
import com.jingdianjichi.subject.infra.basic.entity.SubjectRadio;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface RadioSubjectBoConverter {
    RadioSubjectBoConverter INSTANCE=Mappers.getMapper(RadioSubjectBoConverter.class);

    SubjectRadio convertAnswerBoToRadioEntity(SubjectAnswerBo subjectAnswerBo);

    List<SubjectAnswerBo> convertRadioListToAnswerList(List<SubjectRadio> subjectRadioList);
}
